package com.tengju.bff.interfaces.manage.crm.activity.form;

import com.tengju.user.application.archives.dto.PageQueryDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author chenhang
 * @Date 2021/10/13
 */
@Data
@NoArgsConstructor
@ApiModel(value = "ActivityListForm", description = "活动列表查询")
public class ActivityListForm extends PageQueryDTO {

    @ApiModelProperty("活动名称")
    private String name;

    public ActivityListForm(String name, Integer pageIndex, Integer pageSize) {
        this.name = name;
        this.setPageIndex(pageIndex);
        this.setPageSize(pageSize);
    }
}
